package com.itheima.app.mq;

import org.springframework.stereotype.Component;

@Component
public class MovementScoreMQSend {

    //针对动态的操作，设置常量
    public static final Integer MOVEMENT_PUBLISH = 1;// 发动态
    public static final Integer MOVEMENT_BROWSE = 2;// 浏览动态
    public static final Integer MOVEMENT_LIKE = 3;// 点赞
    public static final Integer MOVEMENT_LOVE = 4;// 喜欢
    public static final Integer MOVEMENT_COMMENT = 5;// 评论
    public static final Integer MOVEMENT_DISLIKE = 6;// 取消点赞
    public static final Integer MOVEMENT_DISLOVE = 7;// 取消喜欢

    //封装一个movementScore的分数
    public void sendMovement(Long userId , String movementId ,Integer type){
        switch (type){
            case 1:
                movementScore.setScore(20d);
                break;
            case 2:

        }

    }


}
